﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
#if DOT_NET
using Microsoft.VisualStudio.TestTools.UnitTesting;
#else
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
#endif

using StyleMVVM.DependencyInjection;
using StyleMVVM.UnitTests.TestClasses.ValidationObjects;

namespace StyleMVVM.UnitTests.DependencyInjection
{
	[TestClass]
	public class ValidationContextInjectionTests : BaseTestClass
	{
		[TestMethod]
		public void ImportValidationContextInMethod()
		{
			ImportMethodValidationContextObject obj = Container.Locate<ImportMethodValidationContextObject>();

			Assert.IsNotNull(obj);
		}

		[TestMethod]
		public void ImportValidatinContextInProperty()
		{
			ImportPropertyValidationContextObject obj = Container.Locate<ImportPropertyValidationContextObject>();

			Assert.IsNotNull(obj);
		}
	}
}
